package today.rocky.memory.domain.bo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Rocky
 * @version 1.0
 * @date 2020/5/23 15:19
 * @description
 */
@Data
public class InspireParam implements Serializable {
	@NotNull(message = "用户信息不完整")
	private Long userId;
	@NotNull(message = "用户信息不完整")
	private String nickname;
	@NotNull(message = "用户信息不完整")
	private String userIcon;
	@NotNull(message = "用户信息不完整")
	private String email;
	@NotBlank(message = "灵感不能为空")
	private String content;
}
